@extends('admin.index.layout')

@section('title',$title)

@section('content')

<!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <!-- left column -->
                <div class="col-md-12">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">快速添加商品</h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form role="form" action="{{ url('/admin/type/insert') }}" method="post" enctype="multipart/form-data">
                            <div class="box-body">
                            	
                            	{{ csrf_field() }}
                                <div class="form-group">
                                    <label for="exampleInputName1">商品分类</label>
                                    <input value="{{ old('type_name') }}" name="type_name" type="text" class="form-control" id="exampleTypeName"
                                           placeholder="请输入商品分类">
                                </div>
                                
                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">添加</button>
                                <button type="reset" class="btn btn-default">重置</button>
                            </div>
                        </form>
                    </div><!-- /.box -->

        </section><!-- /.content -->
    </div><!-- /.content-wrapper -->
@endsection
